package com.cxx.home.service;

import com.cxx.home.dto.password.PasswordDto;
import com.cxx.home.vo.PasswordQueryVo;

import java.util.List;

public interface PasswordService {
    Boolean add(PasswordDto passwordDto);

    Boolean update(Long id, PasswordDto passwordDto);

    Boolean delete(Long id);

    List<PasswordDto> query(PasswordQueryVo query);

    List<String> queryCategory();
}
